package com.jr.service.impl;

import com.jr.entity.Job_intention;
import com.jr.mapper.Job_intentionMapper;
import com.jr.service.Job_intentionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class Job_intentionServiceImpl implements Job_intentionService {
    @Autowired
    private Job_intentionMapper job_intentionMapper;

    @Override
    public int insert(Job_intention job_intention) {
        return job_intentionMapper.insert(job_intention);
    }

    @Override
    public ArrayList<Job_intention> selectByStatus(String status) {
        return job_intentionMapper.selectByStatus(status);
    }


}